<ion-modal-view class="lottery-view">
 <!-- <ion-header-bar class="bar-assertive" align-title="center">
    <div class="buttons">
      <button class="button button-clear" ng-click="closeModalG07()">关闭</button>
    </div>
     <item key="G011" text="微信红包-接龙！" icon="game-icon-1"/>
    <item key="G03" text="微信红包幸运28！" icon="game-icon-1"/>
    <h1 class="title">龙虎合</h1>
  </ion-header-bar> --> 
  <ion-content>
  	
      <div class='tou-zhu'>
          <div class='tou-lhh'>
              <p class='p1'>龙虎合</p>
              <p class='p2'>距离开奖还有00:{{lhhMin}}:{{lhhSeccon}}(以服务器时间为准)</p>
          </div>
          <div>
            <table class='llhtable' align="center">
              <tr>
                  <td></td>
                  <td class='titlel'>龙</td>
                  <td class='titlel'>虎</td>
                  <td class='titlel'>合</td>
              </tr>
              <tr>
                  <td style='font-size: .18rem;'>下注微币：</td>
                  <td><div class='inputinline'><input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 0)" maxlength="4" ng-model='plan.longMoney' type='text'>微币</div></td>
                  <td><div class='inputinline'><input class='touzhuInput' ng-keydown="numberFilter($event)" ng-model='plan.huMoney' type='text'>微币</div></td>
                  <td><div class='inputinline'><input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 0)" maxlength="4" ng-model='plan.heMoney' type='text'>微币</div></td>
              </tr>
             <tr>
                    <td colspan="4" style='width:100%'> 
                    <p  class='desc'>赔率说明（含本金）：</p>
                    <p  class='desc'>最上包的位数比最下包的尾数“大”为龙1赔2</p>
                    <p  class='desc'>最上包的位数比最下包的尾数“小”为虎1赔2</p>
                    <p  class='desc'>最上包的位数比最下包的尾数“相同”为合1赔7</p>
                    </td>
              </tr>
            </table>
          </div>
          <!-- 单注 -->
           <div class='tou-dz'>
              <p class='p1' style='padding-top: 8px'>押单注</p>
              <p class='p2'>距离开奖还有00:{{lhhMin}}:{{lhhSeccon}}(以服务器时间为准)</p>
          </div>
          <div>
            <table class='dztable'  align="center">
              <tr>
                  <td style='font-size: 14px; width: 40px;'>
                      下注微币：
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                      <div style='display: inline-flex;'><i>0</i></div>
                      <div class='inputinline'>
                        <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.ziro' type='text'>
                      </div>
                  </td>
                  <td style="vertical-align:bottom; text-align:center;">
                    <div style='display: inline-flex;'><i>1</i></div>
                    <div class='inputinline'>
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.one' type='text'>
                    </div>
                  </td>
                  <td style="vertical-align:bottom; text-align:center;">
                    <div style='display: inline-flex;'><i>2</i></div>
                    <div class='inputinline'>
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.two' type='text'>
                    </div>
                  </td>
                  <td style="vertical-align:bottom; text-align:center;">
                    <div style='display: inline-flex;'><i>3</i></div>
                    <div class='inputinline'>
                    <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.three' type='text'>
                  </div>
                  </td>
                  <td style="vertical-align:bottom; text-align:center;">
                    <div style='display: inline-flex;'><i>4</i></div>
                    <div class='inputinline'>
                    <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.four' type='text'>
                  </div>
                  </td>
              </tr>
              <tr>
                  <td style='font-size: 14px;'>下注微币：</td>
                  <td style="vertical-align:bottom; text-align:center;">
                    <div style='display: inline-flex;'><i>5</i></div>
                    <div class='inputinline'>
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.five' type='text'>
                    </div>
                  </td>
                  <td style="vertical-align:bottom; text-align:center;">
                    <div style='display: inline-flex;'><i>6</i></div>
                    <div class='inputinline'>
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.six' type='text'>
                    </div>
                  </td>
                  <td style="vertical-align:bottom; text-align:center;">
                    <div style='display: inline-flex;'><i>7</i></div>
                    <div class='inputinline'>
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.seven' type='text'>
                    </div>
                  </td>
                  <td style="vertical-align:bottom; text-align:center;">
                    <div style='display: inline-flex;'><i>8</i></div>
                    <div class='inputinline'>
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.eight' type='text'>
                    </div>
                  </td>
                   <td style="vertical-align:bottom; text-align:center;">
                    <div style='display: inline-flex;'><i>9</i></div>
                    <div class='inputinline'>
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 1)" maxlength="4" ng-model='plan.nine' type='text'>
                    </div>
                  </td>
              </tr>
             <tr>
                    <td colspan="6" style='width:100%'> 
                    <p style='text-align:right;padding-right:20px;' class='desc'>赔率说明（含本金）：押8开0、6、7、8、9、赔2倍&nbsp;&nbsp;</p>
                    <p style='text-align:right;padding-right:20px;' class='desc'>押8开0、6、8、8、9、赔3倍&nbsp;&nbsp;</p>
                    <p style='text-align:right;padding-right:20px;' class='desc'>押8开0、6、8、8、8、赔6倍&nbsp;&nbsp;</p>
                    <p style='text-align:right;padding-right:20px;' class='desc'>押8开8、8、8、8、8、赔15倍</p>
                    </td>
              </tr>
            </table>
          </div>
          
           <!-- 组合投-->
       <div class='tou-dz' style='background-color: #bb4b78;'>
              <p class='p1' style='padding-top: 8px'>连码组</p>
              <p class='p2'>距离开奖还有00:{{lhhMin}}:{{lhhSeccon}}(以服务器时间为准)</p>
       </div>
            <table class='dztable'  align="center">
             <tr>
                  <td style="vertical-align:middle; text-align:center;" colspan="4">
                     	二中二（赔4倍）
                  </td>
             </tr>
             <tr>
                  <td style="vertical-align:middle; text-align:center;">
                     	一码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	二码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	微币
                  </td>
                   <td style="vertical-align:middle; text-align:center;">
                    	<button ng-click='addZh(2)'>添加</button>
                  </td>
              
              </tr>
              <tr ng-repeat="item in plan.zh" ng-if='item.type==2'>
                  <td style="vertical-align:middle; text-align:center;">
                        <input class='touzhuInput' ng-keydown="numberFilter($event)" maxlength="1" ng-model='item.num1' type='text'>
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                      <input class='touzhuInput' ng-keydown="numberFilter($event)"  maxlength="1" ng-model='item.num2' type='text'>
                  </td>
              	 <td style="vertical-align:middle; text-align:center;">
                    <input class='touzhuInput' ng-keydown="numberFilter($event)" maxlength="3" ng-blur="moneyLengthFilter($event, 2)" ng-model='item.money' type='text'>
                  </td>
                  <td>
                  </td>
              </tr>
           
            </table>
            <table class='dztable'  align="center">
             <tr>
                  <td style="vertical-align:middle; text-align:center;" colspan="5">
                     	三中三（赔16倍）
                  </td>
             </tr>
             <tr>
                  <td style="vertical-align:middle;  text-align:center;">
                     	一码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	二码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	三码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	微币
                  </td>
                   <td style="vertical-align:middle; text-align:center;">
                    	<button ng-click='addZh(3)'>添加</button>
                  </td>
              
              </tr>
              <tr ng-repeat="item in plan.zh" ng-if='item.type==3'>
                  <td style="vertical-align:middle; text-align:center;">
                        <input class='touzhuInput' ng-keydown="numberFilter($event)"  maxlength="1" ng-model='item.num1' type='text'>
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                      <input class='touzhuInput' ng-keydown="numberFilter($event)"  maxlength="1" ng-model='item.num2' type='text'>
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                      <input class='touzhuInput' ng-keydown="numberFilter($event)"  maxlength="1" ng-model='item.num3' type='text'>
                  </td>
              	 <td style="vertical-align:middle; text-align:center;">
                    <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 3)"  maxlength="3" ng-model='item.money' type='text'>
                  </td>
                  <td>
                  </td>
              </tr>
            
            </table>
            
            <table class='dztable'  align="center">
             <tr>
                  <td style="vertical-align:middle; text-align:center;" colspan="6">
                     	四中四（赔16倍）
                  </td>
             </tr>
             <tr>
                  <td style="vertical-align:middle; text-align:center;">
                     	一码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	二码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	三码
                  </td>
                   <td style="vertical-align:middle; text-align:center;">
                    	四码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	微币
                  </td>
                   <td style="vertical-align:middle; text-align:center;">
                    	<button ng-click='addZh(4)'>添加</button>
                  </td>
              
              </tr>
              <tr ng-repeat="item in plan.zh" ng-if='item.type==4'>
                  <td style="vertical-align:middle; text-align:center;">
                        <input class='touzhuInput' ng-keydown="numberFilter($event)"  maxlength="1" ng-model='item.num1' type='text'>
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                      <input class='touzhuInput' ng-keydown="numberFilter($event)"  maxlength="1" ng-model='item.num2' type='text'>
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                      <input class='touzhuInput' ng-keydown="numberFilter($event)"  maxlength="1" ng-model='item.num3' type='text'>
                  </td>
                    <td style="vertical-align:middle; text-align:center;">
                      <input class='touzhuInput' ng-keydown="numberFilter($event)"  maxlength="1" ng-model='item.num4' type='text'>
                  </td>
              	 <td style="vertical-align:middle; text-align:center;">
                    <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 4)" ng-model='item.money' type='text'>
                  </td>
                  <td>
                  </td>
              </tr>
            
            </table>
             <table class='dztable5'  align="center">
             <tr>
                  <td style="vertical-align:middle; text-align:center;" colspan="6">
                     	五中五（赔66倍）
                  </td>
             </tr>
             <tr>
                  <td style="vertical-align:middle; text-align:center;">
                     	一码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	二码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	三码
                  </td>
                   <td style="vertical-align:middle; text-align:center;">
                    	四码
                  </td>
                   <td style="vertical-align:middle; text-align:center;">
                    	五码
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                    	微币
                  </td>
                   <td style="vertical-align:middle; text-align:center;">
                    	<button ng-click='addZh(5)'>添加</button>
                  </td>
              
              </tr>
              <tr ng-repeat="item in plan.zh" ng-if='item.type==5'>
                  <td style="vertical-align:middle; text-align:center;">
                        <input class='touzhuInput' ng-keydown="numberFilter($event)" maxlength="1" ng-model='item.num1' type='text'>
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" maxlength="1" ng-model='item.num2' type='text'>
                  </td>
                  <td style="vertical-align:middle; text-align:center;">
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" maxlength="1" ng-model='item.num3' type='text'>
                  </td>
                    <td style="vertical-align:middle; text-align:center;">
                      <input class='touzhuInput' ng-keydown="numberFilter($event)" maxlength="1" ng-model='item.num4' type='text'>
                  </td>
              	 <td style="vertical-align:middle; text-align:center;">
                    <input class='touzhuInput' ng-keydown="numberFilter($event)" maxlength="1" ng-model='item.num5' type='text'>
                  </td>
              	 <td style="vertical-align:middle; text-align:center;">
                    <input class='touzhuInput' ng-keydown="numberFilter($event)" ng-blur="moneyLengthFilter($event, 5)" maxlength="3" ng-model='item.money' type='text'>
                  </td>
                  <td>
                  </td>
              </tr>
            
            </table>
            	<button class="button button-clear" style='margin: 5px 0 0 100px;' ng-click="closeModalG07()">取消</button>
		   	 	<button class="button button-touzhu" style='margin: 5px 0 0 10px;' ng-click="submitTouzhu($event)"></button>
      </div>
  </ion-content>
</ion-modal-view>

